package com.ev.k3cloudBusiness.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ev.k3cloud.entity.K3CloudBaseNumberMetaEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "K3StkTransferEntryInsertVo", description = "调拨单明细新增vo")
public class K3StkTransferEntryInsertVo {

    @JSONField(ordinal = 1)
    @ApiModelProperty("物料编码")
    private K3CloudBaseNumberMetaEntity fmaterialId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 17)
    @ApiModelProperty("调出批号")
    private K3CloudBaseNumberMetaEntity flot=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 4)
    @ApiModelProperty("调出仓库")
    private K3CloudBaseNumberMetaEntity fsrcStockId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 5)
    @ApiModelProperty("调出仓位")
    private K3SrcStockLocVo fsrcStockLocId=new K3SrcStockLocVo();

    @JSONField(ordinal = 6)
    @ApiModelProperty("调入仓库")
    private K3CloudBaseNumberMetaEntity fdestStockId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 7)
    @ApiModelProperty("调入仓位")
    private K3DestStockLocVo fdestStockLocId=new K3DestStockLocVo();

    @JSONField(ordinal = 3)
    @ApiModelProperty("调拨数量")
    private BigDecimal fqty=new BigDecimal(0);

    @JSONField(ordinal = 10)
    @JsonIgnore
    @ApiModelProperty("调入货主类型")
    private String fownerTypeId = "BD_OwnerOrg";

    @JSONField(ordinal = 11)
    @ApiModelProperty("调入货主")
    private K3CloudBaseNumberMetaEntity fownerId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 8)
    @JsonIgnore
    @ApiModelProperty("调出货主类型")
    private String fownerTypeOutId = "BD_OwnerOrg";

    @JSONField(ordinal = 9)
    @ApiModelProperty("调出货主")
    private K3CloudBaseNumberMetaEntity fownerOutId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 16)
    @JsonIgnore
    @ApiModelProperty("调出保管者类型")
    private String fkeeperTypeOutId = "BD_KeeperOrg";

    @JSONField(ordinal = 15)
    @ApiModelProperty("调出保管者")
    private K3CloudBaseNumberMetaEntity fkeeperOutId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 14)
    @JsonIgnore
    @ApiModelProperty("调入保管者类型")
    private String fkeeperTypeId = "BD_KeeperOrg";

    @JSONField(ordinal = 13)
    @ApiModelProperty("调入保管者")
    private K3CloudBaseNumberMetaEntity fkeeperId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 2)
    @ApiModelProperty("单位")
    private K3CloudBaseNumberMetaEntity funitId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 12)
    @ApiModelProperty("基本单位")
    private K3CloudBaseNumberMetaEntity fbaseUnitId=new K3CloudBaseNumberMetaEntity("");

}
